// tslint:disable:variable-name
// tslint:disable:max-line-length
import { makeBufferFromTrace } from "node-opcua-debug";

export const helloMessage1 = makeBufferFromTrace(`
00000000: 48 45 4c 46 4f 00 00 00 00 00 00 00 ff ff 00 00 ff ff 00 00 00 00 40 00 00 00 00 00 2f 00 00 00    HELFO.................@...../...
00000020: 6f 70 63 2e 74 63 70 3a 2f 2f 74 61 74 74 61 74 61 3a 36 32 35 34 33 2f 41 41 41 41 41 2f 41 67    opc.tcp://tattata:62543/AAAAA/Ag
00000040: 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72                                                       gregationServer
`);
// same as helloMessage1 but with a altered endpointUri Length = 0 ---ff added here-----------------+
//                                                                                                |
//                                                                                                v
export const altered_helloMessage1 = makeBufferFromTrace(`
00000000: 48 45 4c 46 4f 00 00 00 00 00 00 00 ff ff 00 00 ff ff 00 00 00 00 40 00 00 00 00 00 2f ff 00 00    HELFO.................@...../...
00000020: 6f 70 63 2e 74 63 70 3a 2f 2f 74 61 74 74 61 74 61 3a 36 32 35 34 33 2f 41 41 41 41 41 2f 41 67    opc.tcp://tattata:62543/AAAAA/Ag
00000040: 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72                                                       gregationServer
`);

export const altered_helloMessage2 = Buffer.from(
    "48454c46390000000000000000000100000001000000000000000000595555556f70632e7463703a2f2f6c6f63616c686f73743a343834302f",
    "hex"
);

export const altered_helloMessage3 = Buffer.from(
    "48454c46390000000000000000000100000001000000000000000000020000106f70632e7463703a2f2f6c6f63616c686f73743a343834302f",
    "hex"
);

export const ackResponse1 = makeBufferFromTrace(`
00000000: 41 43 4b 46 1c 00 00 00 00 00 00 00 ff ff 00 00 ff ff 00 00 00 00 40 00 00 00 00 00                ACKF..................@.....
`);

// client -> server : packet length 132   => OpenSecureChannelRequest
export const openChannelRequest1 = makeBufferFromTrace(`
00000000: 4f 50 4e 46 84 00 00 00 00 00 00 00 2f 00 00 00 68 74 74 70 3a 2f 2f 6f 70 63 66 6f 75 6e 64 61    OPNF......../...http://opcfounda
00000020: 74 69 6f 6e 2e 6f 72 67 2f 55 41 2f 53 65 63 75 72 69 74 79 50 6f 6c 69 63 79 23 4e 6f 6e 65 ff    tion.org/UA/SecurityPolicy#None.
00000040: ff ff ff ff ff ff ff 01 00 00 00 02 00 00 00 01 00 be 01 00 00 43 b2 42 d9 d0 1d cf 01 00 00 00    .................>...C2BYP.O....
00000060: 00 00 00 00 00 ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00    ................................
00000080: 80 ee 36 00                                                                                        .n6.
`);

// altered_openChannelRequest
// 00000000: 50 50 instead of 00000000: 4f 50
export const altered_openChannelRequest1 = makeBufferFromTrace(`
00000000: 50 50 4e 46 84 00 00 00 00 00 00 00 2f 00 00 00 68 74 74 70 3a 2f 2f 6f 70 63 66 6f 75 6e 64 61    PPNF......../...http://opcfounda
00000020: 74 69 6f 6e 2e 6f 72 67 2f 55 41 2f 53 65 63 75 72 69 74 79 50 6f 6c 69 63 79 23 4e 6f 6e 65 ff    tion.org/UA/SecurityPolicy#None.
00000040: ff ff ff ff ff ff ff 01 00 00 00 02 00 00 00 01 00 be 01 00 00 43 b2 42 d9 d0 1d cf 01 00 00 00    .................>...C2BYP.O....
00000060: 00 00 00 00 00 ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00    ................................
00000080: 80 ee 36 00                                                                                        .n6.
`);

// 00000000: 4f 50 4e 46 84 00 00 00 00 00 00 00 2f FF FF  instead of 2F 00 00
export const altered_openChannelRequest2 = makeBufferFromTrace(`
00000000: 4f 50 4e 46 84 00 00 00 00 00 00 00 2f FF FF 00 68 74 74 70 3a 2f 2f 6f 70 63 66 6f 75 6e 64 61    PPNF......../...http://opcfounda
00000020: 74 69 6f 6e 2e 6f 72 67 2f 55 41 2f 53 65 63 75 72 69 74 79 50 6f 6c 69 63 79 23 4e 6f 6e 65 ff    tion.org/UA/SecurityPolicy#None.
00000040: ff ff ff ff ff ff ff 01 00 00 00 02 00 00 00 01 00 be 01 00 00 43 b2 42 d9 d0 1d cf 01 00 00 00    .................>...C2BYP.O....
00000060: 00 00 00 00 00 ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00    ................................
00000080: 80 ee 36 00                                                                                        .n6.
`);

// server -> client : packet length 135    => OpenSecureChannelResponse
export const openSecureChannelResponse1 = makeBufferFromTrace(`
00000000: 4f 50 4e 46 87 00 00 00 0a 00 00 00 2f 00 00 00 68 74 74 70 3a 2f 2f 6f 70 63 66 6f 75 6e 64 61    OPNF......../...http://opcfounda
00000020: 74 69 6f 6e 2e 6f 72 67 2f 55 41 2f 53 65 63 75 72 69 74 79 50 6f 6c 69 63 79 23 4e 6f 6e 65 ff    tion.org/UA/SecurityPolicy#None.
00000040: ff ff ff ff ff ff ff 01 00 00 00 01 00 00 00 01 00 c1 01 4b 87 44 d9 d0 1d cf 01 01 00 00 00 00    .................A.K.DYP.O......
00000060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0a 00 00 00 01 00 00 00 ed c3 43 d9 d0 1d cf 01 80    .......................mCCYP.O..
00000080: ee 36 00 00 00 00 00                                                                               n6.....
`);

// client -> server : packet length 116  => GetEndpointsRequest
export const getEndpointsRequest1 = makeBufferFromTrace(`
00000000: 4d 53 47 46 74 00 00 00 0a 00 00 00 01 00 00 00 02 00 00 00 01 00 00 00 01 00 ac 01 00 00 b7 19    MSGFt.....................,...7.
00000020: 40 d9 d0 1d cf 01 01 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 00 00 00 2f 00 00 00 6f 70 63    @YP.O..................../...opc
00000040: 2e 74 63 70 3a 2f 2f 74 61 74 74 61 74 61 3a 36 32 35 34 33 2f 41 41 41 41 41 2f 41 67 67 72 65    .tcp://tattata:62543/AAAAA/Aggre
00000060: 67 61 74 69 6f 6e 53 65 72 76 65 72 00 00 00 00 00 00 00 00                                        gationServer........
`);

export const altered_getEndpointsRequest1 = makeBufferFromTrace(`
00000000: 4d 53 47 46 74 00 00 00 0a 00 00 00 01 00 00 00 02 00 00 00 01 00 00 00 01 00 ac 01 00 00 b7 19    MSGFt.....................,...7.
00000020: 40 d9 d0 1d cf 01 01 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 00 00 00 2f FF FF FF 6f 70 63    @YP.O..................../...opc
00000040: 2e 74 63 70 3a 2f 2f 74 61 74 74 61 74 61 3a 36 32 35 34 33 2f 41 41 41 41 41 2f 41 67 67 72 65    .tcp://tattata:62543/AAAAA/Aggre
00000060: 67 61 74 69 6f 6e 53 65 72 76 65 72 00 00 00 00 00 00 00 00                                        gationServer........
`);

//  server -> client : packet length 4380  => GetEndpointsResponse 1/2
export const getEndpointsRequest2_chunk1 = makeBufferFromTrace(`
00000000: 4d 53 47 46 e0 1f 00 00 0a 00 00 00 01 00 00 00 02 00 00 00 01 00 00 00 01 00 af 01 ec 46 47 d9    MSGF....................../.lFGY
00000020: d0 1d cf 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 06 00 00 00 2f 00 00 00 6f 70 63 2e    P.O...................../...opc.
00000040: 74 63 70 3a 2f 2f 74 61 74 74 61 74 61 3a 36 32 35 34 32 2f 41 41 41 41 41 2f 41 67 67 72 65 67    tcp://tattata:62542/AAAAA/Aggreg
00000060: 61 74 69 6f 6e 53 65 72 76 65 72 28 00 00 00 75 72 6e 3a 6c 6f 63 61 6c 68 6f 73 74 3a 55 41 3a    ationServer(...urn:localhost:UA:
00000080: 41 41 41 41 41 3a 41 67 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72 22 00 00 00 75 72 69 3a 61    AAAAA:AggregationServer"...uri:a
000000a0: 61 61 61 61 2e 63 6f 6d 3a 55 41 3a 41 67 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72 02 1b 00    aaaa.com:UA:AggregationServer...
000000c0: 00 00 41 41 41 41 41 20 55 41 20 41 67 67 72 65 67 61 74 69 6f 6e 20 53 65 72 76 65 72 02 00 00    ..AAAAA.UA.Aggregation.Server...
000000e0: 00 ff ff ff ff ff ff ff ff 02 00 00 00 36 00 00 00 68 74 74 70 3a 2f 2f 74 61 74 74 61 74 61 3a    .............6...http://tattata:
00000100: 36 32 35 34 31 2f 41 41 41 41 41 2f 41 67 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72 2f 64 69    62541/AAAAA/AggregationServer/di
00000120: 73 63 6f 76 65 72 79 2f 00 00 00 6f 70 63 2e 74 63 70 3a 2f 2f 74 61 74 74 61 74 61 3a 36 32 35    scovery/...opc.tcp://tattata:625
00000140: 34 32 2f 41 41 41 41 41 2f 41 67 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72 24 03 00 00 30 82    42/AAAAA/AggregationServer$...0.
00000160: 03 20 30 82 02 89 a0 03 02 01 02 02 10 2e 1b cc fe 63 34 7b 47 9e d3 11 f9 fe a2 cd 64 30 0d 06    ..0............L~c4{G.S.y~"Md0..
00000180: 09 2a 86 48 86 f7 0d 01 01 05 05 00 30 3f 31 17 30 15 06 0a 09 92 26 89 93 f2 2c 64 01 19 16 07    .*.H.w......0?1.0.....&..r,d....
000001a0: 74 61 74 74 61 74 61 31 24 30 22 06 03 55 04 03 13 1b 41 41 41 41 41 20 55 41 20 41 67 67 72 65    tattata1$0"..U....AAAAA.UA.Aggre
000001c0: 67 61 74 69 6f 6e 20 53 65 72 76 65 72 30 20 17 0d 31 34 30 31 33 30 31 34 34 37 32 32 5a 18 0f    gation.Server0...140130144722Z..
000001e0: 32 30 36 33 30 35 31 33 31 34 34 37 32 32 5a 30 3f 31 17 30 15 06 0a 09 92 26 89 93 f2 2c 64 01    20630513144722Z0?1.0.....&..r,d.
00000200: 19 16 07 74 61 74 74 61 74 61 31 24 30 22 06 03 55 04 03 13 1b 41 41 41 41 41 20 55 41 20 41 67    ...tattata1$0"..U....AAAAA.UA.Ag
00000220: 67 72 65 67 61 74 69 6f 6e 20 53 65 72 76 65 72 30 81 9f 30 0d 06 09 2a 86 48 86 f7 0d 01 01 01    gregation.Server0..0...*.H.w....
00000240: 05 00 03 81 8d 00 30 81 89 02 81 81 00 b7 db 2a ae 23 91 a4 6b d3 5a 7b bb 06 63 e7 c1 bc 4a 62    ......0......7[*.#.$kSZ{;.cgA.Jb
00000260: 7a de 5d 54 bd b1 3f 55 65 25 b9 bc 99 55 19 b4 20 85 03 08 98 8e b3 29 0b fc 43 5f 62 a6 1e e7    z^]T=1?Ue%9<.U.4......3).|C_b&.g
00000280: f6 7d 4c c9 d0 f4 26 47 52 66 e0 ea 16 26 8b 54 67 14 e2 3d 81 54 b7 29 a1 b2 6a 0b 9c 40 14 fc    v}LIPt&GRf.j.&.Tg.b=.T7)!2j..@.|
000002a0: f8 51 aa 8e 0b f6 be 85 3d 95 a7 e1 4f 27 ae 10 6a 64 80 8b 2b ff fe 3b fa bd 06 c5 64 8d 33 ca    xQ*..v>.=.'aO'..jd..+.~;z=.Ed.3J
000002c0: 91 b5 68 71 f0 4f 8b b9 4e a6 9a 39 31 02 03 01 00 01 a3 82 01 19 30 82 01 15 30 1d 06 03 55 1d    .5hqpO.9N&.91.....#...0...0...U.
000002e0: 0e 04 16 04 14 25 0a 7b 7f 14 c6 61 b0 23 5d 42 ff c4 9e 53 54 ac 78 20 d0 30 76 06 03 55 1d 23    .....%.{..Fa0#]B.D.ST,x.P0v..U.#
00000300: 04 6f 30 6d 80 14 25 0a 7b 7f 14 c6 61 b0 23 5d 42 ff c4 9e 53 54 ac 78 20 d0 a1 43 a4 41 30 3f    .o0m..%.{..Fa0#]B.D.ST,x.P!C$A0?
00000320: 31 17 30 15 06 0a 09 92 26 89 93 f2 2c 64 01 19 16 07 74 61 74 74 61 74 61 31 24 30 22 06 03 55    1.0.....&..r,d....tattata1$0"..U
00000340: 04 03 13 1b 41 41 41 41 41 20 55 41 20 41 67 67 72 65 67 61 74 69 6f 6e 20 53 65 72 76 65 72 82    ....AAAAA.UA.Aggregation.Server.
00000360: 10 2e 1b cc fe 63 34 7b 47 9e d3 11 f9 fe a2 cd 64 30 0c 06 03 55 1d 13 01 01 ff 04 02 30 00 30    ...L~c4{G.S.y~"Md0...U.......0.0
00000380: 0e 06 03 55 1d 0f 01 01 ff 04 04 03 02 02 f4 30 20 06 03 55 1d 25 01 01 ff 04 16 30 14 06 08 2b    ...U..........t0...U.%.....0...+
000003a0: 06 01 05 05 07 03 01 06 08 2b 06 01 05 05 07 03 02 30 3c 06 03 55 1d 11 04 35 30 33 86 28 75 72    .........+.......0<..U...503.(ur
000003c0: 6e 3a 6c 6f 63 61 6c 68 6f 73 74 3a 55 41 3a 41 41 41 41 41 3a 41 67 67 72 65 67 61 74 69 6f 6e    n:localhost:UA:AAAAA:Aggregation
000003e0: 53 65 72 76 65 72 82 07 74 61 74 74 61 74 61 30 0d 06 09 2a 86 48 86 f7 0d 01 01 05 05 00 03 81    Server..tattata0...*.H.w........
00000400: 81 00 33 ac 71 4e 17 e4 16 67 13 fc 7b 26 d7 71 4c 85 b7 08 78 c5 4b f2 bc db 40 e8 fe 7b 0c 79    ..3,qN.d.g.|{&WqL.7.xEKr<[@h~{.y
00000420: e2 1f 39 76 54 40 8b 9f 96 40 50 16 c8 97 03 7d 7d 45 e0 97 30 da 4a 72 b2 fd fe b4 1e 78 5d 04    b.9vT@...@P.H..}}E..0ZJr2}~4.x].
00000440: 20 10 6e b4 b1 48 fc 79 dc 2e 05 fe 97 eb 16 bb 6a 39 99 8c 4e 51 b8 10 46 86 27 fc a3 d5 b3 4b    ..n41H|y\\..~.k.;j9..NQ8.F.'|#U3K
00000460: 34 1f 96 f7 32 66 58 c0 39 79 df 3b 5b bc 08 4b 7a f4 40 99 65 f8 cd ea d2 fa 78 b1 ee 81 d0 99    4..w2fX@9y_;[<.Kzt@.exMjRzx1n.P.
00000480: 60 7b 03 00 00 00 38 00 00 00 68 74 74 70 3a 2f 2f 6f 70 63 66 6f 75 6e 64 61 74 69 6f 6e 2e 6f    .{....8...http://opcfoundation.o
000004a0: 72 67 2f 55 41 2f 53 65 63 75 72 69 74 79 50 6f 6c 69 63 79 23 42 61 73 69 63 31 32 38 52 73 61    rg/UA/SecurityPolicy#Basic128Rsa
000004c0: 31 35 03 00 00 00 01 00 00 00 30 00 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff 01 00 00 00 31    15........0....................1
000004e0: 01 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff 01 00 00 00 32 02 00 00 00 ff ff ff ff ff ff ff    ....................2...........
00000500: ff ff ff ff ff 41 00 00 00 68 74 74 70 3a 2f 2f 6f 70 63 66 6f 75 6e 64 61 74 69 6f 6e 2e 6f 72    .....A...http://opcfoundation.or
00000520: 67 2f 55 41 2d 50 72 6f 66 69 6c 65 2f 54 72 61 6e 73 70 6f 72 74 2f 75 61 74 63 70 2d 75 61 73    g/UA-Profile/Transport/uatcp-uas
00000540: 63 2d 75 61 62 69 6e 61 72 79 03 2f 00 00 00 6f 70 63 2e 74 63 70 3a 2f 2f 74 61 74 74 61 74 61    c-uabinary./...opc.tcp://tattata
00000560: 3a 36 32 35 34 32 2f 41 41 41 41 41 2f 41 67 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72 28 00    :62542/AAAAA/AggregationServer(.
00000580: 00 00 75 72 6e 3a 6c 6f 63 61 6c 68 6f 73 74 3a 55 41 3a 41 41 41 41 41 3a 41 67 67 72 65 67 61    ..urn:localhost:UA:AAAAA:Aggrega
000005a0: 74 69 6f 6e 53 65 72 76 65 72 22 00 00 00 75 72 69 3a 61 61 61 61 61 2e 63 6f 6d 3a 55 41 3a 41    tionServer"...uri:aaaaa.com:UA:A
000005c0: 67 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72 02 1b 00 00 00 41 41 41 41 41 20 55 41 20 41 67    ggregationServer.....AAAAA.UA.Ag
000005e0: 67 72 65 67 61 74 69 6f 6e 20 53 65 72 76 65 72 02 00 00 00 ff ff ff ff ff ff ff ff 02 00 00 00    gregation.Server................
00000600: 36 00 00 00 68 74 74 70 3a 2f 2f 74 61 74 74 61 74 61 3a 36 32 35 34 31 2f 41 41 41 41 41 2f 41    6...http://tattata:62541/AAAAA/A
00000620: 67 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72 2f 64 69 73 63 6f 76 65 72 79 2f 00 00 00 6f 70    ggregationServer/discovery/...op
00000640: 63 2e 74 63 70 3a 2f 2f 74 61 74 74 61 74 61 3a 36 32 35 34 32 2f 41 41 41 41 41 2f 41 67 67 72    c.tcp://tattata:62542/AAAAA/Aggr
00000660: 65 67 61 74 69 6f 6e 53 65 72 76 65 72 24 03 00 00 30 82 03 20 30 82 02 89 a0 03 02 01 02 02 10    egationServer$...0...0..........
00000680: 2e 1b cc fe 63 34 7b 47 9e d3 11 f9 fe a2 cd 64 30 0d 06 09 2a 86 48 86 f7 0d 01 01 05 05 00 30    ..L~c4{G.S.y~"Md0...*.H.w......0
000006a0: 3f 31 17 30 15 06 0a 09 92 26 89 93 f2 2c 64 01 19 16 07 74 61 74 74 61 74 61 31 24 30 22 06 03    ?1.0.....&..r,d....tattata1$0"..
000006c0: 55 04 03 13 1b 41 41 41 41 41 20 55 41 20 41 67 67 72 65 67 61 74 69 6f 6e 20 53 65 72 76 65 72    U....AAAAA.UA.Aggregation.Server
000006e0: 30 20 17 0d 31 34 30 31 33 30 31 34 34 37 32 32 5a 18 0f 32 30 36 33 30 35 31 33 31 34 34 37 32    0...140130144722Z..2063051314472
00000700: 32 5a 30 3f 31 17 30 15 06 0a 09 92 26 89 93 f2 2c 64 01 19 16 07 74 61 74 74 61 74 61 31 24 30    2Z0?1.0.....&..r,d....tattata1$0
00000720: 22 06 03 55 04 03 13 1b 41 41 41 41 41 20 55 41 20 41 67 67 72 65 67 61 74 69 6f 6e 20 53 65 72    "..U....AAAAA.UA.Aggregation.Ser
00000740: 76 65 72 30 81 9f 30 0d 06 09 2a 86 48 86 f7 0d 01 01 01 05 00 03 81 8d 00 30 81 89 02 81 81 00    ver0..0...*.H.w..........0......
00000760: b7 db 2a ae 23 91 a4 6b d3 5a 7b bb 06 63 e7 c1 bc 4a 62 7a de 5d 54 bd b1 3f 55 65 25 b9 bc 99    7[*.#.$kSZ{;.cgA.Jbz^]T=1?Ue%9<.
00000780: 55 19 b4 20 85 03 08 98 8e b3 29 0b fc 43 5f 62 a6 1e e7 f6 7d 4c c9 d0 f4 26 47 52 66 e0 ea 16    U.4......3).|C_b&.gv}LIPt&GRf.j.
000007a0: 26 8b 54 67 14 e2 3d 81 54 b7 29 a1 b2 6a 0b 9c 40 14 fc f8 51 aa 8e 0b f6 be 85 3d 95 a7 e1 4f    &.Tg.b=.T7)!2j..@.|xQ*..v>.=.'aO
000007c0: 27 ae 10 6a 64 80 8b 2b ff fe 3b fa bd 06 c5 64 8d 33 ca 91 b5 68 71 f0 4f 8b b9 4e a6 9a 39 31    '..jd..+.~;z=.Ed.3J.5hqpO.9N&.91
000007e0: 02 03 01 00 01 a3 82 01 19 30 82 01 15 30 1d 06 03 55 1d 0e 04 16 04 14 25 0a 7b 7f 14 c6 61 b0    .....#...0...0...U......%.{..Fa0
00000800: 23 5d 42 ff c4 9e 53 54 ac 78 20 d0 30 76 06 03 55 1d 23 04 6f 30 6d 80 14 25 0a 7b 7f 14 c6 61    #]B.D.ST,x.P0v..U.#.o0m..%.{..Fa
00000820: b0 23 5d 42 ff c4 9e 53 54 ac 78 20 d0 a1 43 a4 41 30 3f 31 17 30 15 06 0a 09 92 26 89 93 f2 2c    0#]B.D.ST,x.P!C$A0?1.0.....&..r,
00000840: 64 01 19 16 07 74 61 74 74 61 74 61 31 24 30 22 06 03 55 04 03 13 1b 41 41 41 41 41 20 55 41 20    d....tattata1$0"..U....AAAAA.UA.
00000860: 41 67 67 72 65 67 61 74 69 6f 6e 20 53 65 72 76 65 72 82 10 2e 1b cc fe 63 34 7b 47 9e d3 11 f9    Aggregation.Server....L~c4{G.S.y
00000880: fe a2 cd 64 30 0c 06 03 55 1d 13 01 01 ff 04 02 30 00 30 0e 06 03 55 1d 0f 01 01 ff 04 04 03 02    ~"Md0...U.......0.0...U.........
000008a0: 02 f4 30 20 06 03 55 1d 25 01 01 ff 04 16 30 14 06 08 2b 06 01 05 05 07 03 01 06 08 2b 06 01 05    .t0...U.%.....0...+.........+...
000008c0: 05 07 03 02 30 3c 06 03 55 1d 11 04 35 30 33 86 28 75 72 6e 3a 6c 6f 63 61 6c 68 6f 73 74 3a 55    ....0<..U...503.(urn:localhost:U
000008e0: 41 3a 41 41 41 41 41 3a 41 67 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72 82 07 67 61 74 74 61    A:AAAAA:AggregationServer..gatta
00000900: 63 61 30 0d 06 09 2a 86 48 86 f7 0d 01 01 05 05 00 03 81 81 00 33 ac 71 4e 17 e4 16 67 13 fc 7b    ca0...*.H.w..........3,qN.d.g.|{
00000920: 26 d7 71 4c 85 b7 08 78 c5 4b f2 bc db 40 e8 fe 7b 0c 79 e2 1f 39 76 54 40 8b 9f 96 40 50 16 c8    &WqL.7.xEKr<[@h~{.yb.9vT@...@P.H
00000940: 97 03 7d 7d 45 e0 97 30 da 4a 72 b2 fd fe b4 1e 78 5d 04 20 10 6e b4 b1 48 fc 79 dc 2e 05 fe 97    ..}}E..0ZJr2}~4.x]...n41H|y\\..~.
00000960: eb 16 bb 6a 39 99 8c 4e 51 b8 10 46 86 27 fc a3 d5 b3 4b 34 1f 96 f7 32 66 58 c0 39 79 df 3b 5b    k.;j9..NQ8.F.'|#U3K4..w2fX@9y_;[
00000980: bc 08 4b 7a f4 40 99 65 f8 cd ea d2 fa 78 b1 ee 81 d0 99 60 7b 02 00 00 00 33 00 00 00 68 74 74    <.Kzt@.exMjRzx1n.P;;{....3...htt
000009a0: 70 3a 2f 2f 6f 70 63 66 6f 75 6e 64 61 74 69 6f 6e 2e 6f 72 67 2f 55 41 2f 53 65 63 75 72 69 74    p://opcfoundation.org/UA/Securit
000009c0: 79 50 6f 6c 69 63 79 23 42 61 73 69 63 32 35 36 03 00 00 00 01 00 00 00 30 00 00 00 00 ff ff ff    yPolicy#Basic256........0.......
000009e0: ff ff ff ff ff ff ff ff ff 01 00 00 00 31 01 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff 01 00    .............1..................
00000a00: 00 00 32 02 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff 41 00 00 00 68 74 74 70 3a 2f 2f 6f 70    ..2................A...http://op
00000a20: 63 66 6f 75 6e 64 61 74 69 6f 6e 2e 6f 72 67 2f 55 41 2d 50 72 6f 66 69 6c 65 2f 54 72 61 6e 73    cfoundation.org/UA-Profile/Trans
00000a40: 70 6f 72 74 2f 75 61 74 63 70 2d 75 61 73 63 2d 75 61 62 69 6e 61 72 79 02 2f 00 00 00 6f 70 63    port/uatcp-uasc-uabinary./...opc
00000a60: 2e 74 63 70 3a 2f 2f 74 61 74 74 61 74 61 3a 36 32 35 34 32 2f 41 41 41 41 41 2f 41 67 67 72 65    .tcp://tattata:62542/AAAAA/Aggre
00000a80: 67 61 74 69 6f 6e 53 65 72 76 65 72 28 00 00 00 75 72 6e 3a 6c 6f 63 61 6c 68 6f 73 74 3a 55 41    gationServer(...urn:localhost:UA
00000aa0: 3a 41 41 41 41 41 3a 41 67 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72 22 00 00 00 75 72 69 3a    :AAAAA:AggregationServer"...uri:
00000ac0: 61 61 61 61 61 2e 63 6f 6d 3a 55 41 3a 41 67 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72 02 1b    aaaaa.com:UA:AggregationServer..
00000ae0: 00 00 00 41 41 41 41 41 20 55 41 20 41 67 67 72 65 67 61 74 69 6f 6e 20 53 65 72 76 65 72 02 00    ...AAAAA.UA.Aggregation.Server..
00000b00: 00 00 ff ff ff ff ff ff ff ff 02 00 00 00 36 00 00 00 68 74 74 70 3a 2f 2f 74 61 74 74 61 74 61    ..............6...http://tattata
00000b20: 3a 36 32 35 34 31 2f 41 41 41 41 41 2f 41 67 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72 2f 64    :62541/AAAAA/AggregationServer/d
00000b40: 69 73 63 6f 76 65 72 79 2f 00 00 00 6f 70 63 2e 74 63 70 3a 2f 2f 74 61 74 74 61 74 61 3a 36 32    iscovery/...opc.tcp://tattata:62
00000b60: 35 34 32 2f 41 41 41 41 41 2f 41 67 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72 24 03 00 00 30    542/AAAAA/AggregationServer$...0
00000b80: 82 03 20 30 82 02 89 a0 03 02 01 02 02 10 2e 1b cc fe 63 34 7b 47 9e d3 11 f9 fe a2 cd 64 30 0d    ...0............L~c4{G.S.y~"Md0.
00000ba0: 06 09 2a 86 48 86 f7 0d 01 01 05 05 00 30 3f 31 17 30 15 06 0a 09 92 26 89 93 f2 2c 64 01 19 16    ..*.H.w......0?1.0.....&..r,d...
00000bc0: 07 74 61 74 74 61 74 61 31 24 30 22 06 03 55 04 03 13 1b 41 41 41 41 41 20 55 41 20 41 67 67 72    .tattata1$0"..U....AAAAA.UA.Aggr
00000be0: 65 67 61 74 69 6f 6e 20 53 65 72 76 65 72 30 20 17 0d 31 34 30 31 33 30 31 34 34 37 32 32 5a 18    egation.Server0...140130144722Z.
00000c00: 0f 32 30 36 33 30 35 31 33 31 34 34 37 32 32 5a 30 3f 31 17 30 15 06 0a 09 92 26 89 93 f2 2c 64    .20630513144722Z0?1.0.....&..r,d
00000c20: 01 19 16 07 74 61 74 74 61 74 61 31 24 30 22 06 03 55 04 03 13 1b 41 41 41 41 41 20 55 41 20 41    ....tattata1$0"..U....AAAAA.UA.A
00000c40: 67 67 72 65 67 61 74 69 6f 6e 20 53 65 72 76 65 72 30 81 9f 30 0d 06 09 2a 86 48 86 f7 0d 01 01    ggregation.Server0..0...*.H.w...
00000c60: 01 05 00 03 81 8d 00 30 81 89 02 81 81 00 b7 db 2a ae 23 91 a4 6b d3 5a 7b bb 06 63 e7 c1 bc 4a    .......0......7[*.#.$kSZ{;.cgA<J
00000c80: 62 7a de 5d 54 bd b1 3f 55 65 25 b9 bc 99 55 19 b4 20 85 03 08 98 8e b3 29 0b fc 43 5f 62 a6 1e    bz^]T=1?Ue%9<.U.4......3).|C_b&.
00000ca0: e7 f6 7d 4c c9 d0 f4 26 47 52 66 e0 ea 16 26 8b 54 67 14 e2 3d 81 54 b7 29 a1 b2 6a 0b 9c 40 14    gv}LIPt&GRf.j.&.Tg.b=.T7)!2j..@.
00000cc0: fc f8 51 aa 8e 0b f6 be 85 3d 95 a7 e1 4f 27 ae 10 6a 64 80 8b 2b ff fe 3b fa bd 06 c5 64 8d 33    |xQ*..v>.=.'aO'..jd..+.~;z=.Ed.3
00000ce0: ca 91 b5 68 71 f0 4f 8b b9 4e a6 9a 39 31 02 03 01 00 01 a3 82 01 19 30 82 01 15 30 1d 06 03 55    J.5hqpO.9N&.91.....#...0...0...U
00000d00: 1d 0e 04 16 04 14 25 0a 7b 7f 14 c6 61 b0 23 5d 42 ff c4 9e 53 54 ac 78 20 d0 30 76 06 03 55 1d    ......%.{..Fa0#]B.D.ST,x.P0v..U.
00000d20: 23 04 6f 30 6d 80 14 25 0a 7b 7f 14 c6 61 b0 23 5d 42 ff c4 9e 53 54 ac 78 20 d0 a1 43 a4 41 30    #.o0m..%.{..Fa0#]B.D.ST,x.P!C$A0
00000d40: 3f 31 17 30 15 06 0a 09 92 26 89 93 f2 2c 64 01 19 16 07 74 61 74 74 61 74 61 31 24 30 22 06 03    ?1.0.....&..r,d....tattata1$0"..
00000d60: 55 04 03 13 1b 41 41 41 41 41 20 55 41 20 41 67 67 72 65 67 61 74 69 6f 6e 20 53 65 72 76 65 72    U....AAAAA.UA.Aggregation.Server
00000d80: 82 10 2e 1b cc fe 63 34 7b 47 9e d3 11 f9 fe a2 cd 64 30 0c 06 03 55 1d 13 01 01 ff 04 02 30 00    ....L~c4{G.S.y~"Md0...U.......0.
00000da0: 30 0e 06 03 55 1d 0f 01 01 ff 04 04 03 02 02 f4 30 20 06 03 55 1d 25 01 01 ff 04 16 30 14 06 08    0...U..........t0...U.%.....0...
00000dc0: 2b 06 01 05 05 07 03 01 06 08 2b 06 01 05 05 07 03 02 30 3c 06 03 55 1d 11 04 35 30 33 86 28 75    +.........+.......0<..U...503.(u
00000de0: 72 6e 3a 6c 6f 63 61 6c 68 6f 73 74 3a 55 41 3a 41 41 41 41 41 3a 41 67 67 72 65 67 61 74 69 6f    rn:localhost:UA:AAAAA:Aggregatio
00000e00: 6e 53 65 72 76 65 72 82 07 74 61 74 74 61 74 61 30 0d 06 09 2a 86 48 86 f7 0d 01 01 05 05 00 03    nServer..tattata0...*.H.w.......
00000e20: 81 81 00 33 ac 71 4e 17 e4 16 67 13 fc 7b 26 d7 71 4c 85 b7 08 78 c5 4b f2 bc db 40 e8 fe 7b 0c    ...3,qN.d.g.|{&WqL.7.xEKr<[@h~{.
00000e40: 79 e2 1f 39 76 54 40 8b 9f 96 40 50 16 c8 97 03 7d 7d 45 e0 97 30 da 4a 72 b2 fd fe b4 1e 78 5d    yb.9vT@...@P.H..}}E..0ZJr2}~4.x]
00000e60: 04 20 10 6e b4 b1 48 fc 79 dc 2e 05 fe 97 eb 16 bb 6a 39 99 8c 4e 51 b8 10 46 86 27 fc a3 d5 b3    ...n41H|y\\..~.k.;j9..NQ8.F.'|#U3
00000e80: 4b 34 1f 96 f7 32 66 58 c0 39 79 df 3b 5b bc 08 4b 7a f4 40 99 65 f8 cd ea d2 fa 78 b1 ee 81 d0    K4..w2fX@9y_;[<.Kzt@.exMjRzx1n.P
00000ea0: 99 60 7b 01 00 00 00 2f 00 00 00 68 74 74 70 3a 2f 2f 6f 70 63 66 6f 75 6e 64 61 74 69 6f 6e 2e    ..{..../...http://opcfoundation.
00000ec0: 6f 72 67 2f 55 41 2f 53 65 63 75 72 69 74 79 50 6f 6c 69 63 79 23 4e 6f 6e 65 03 00 00 00 01 00    org/UA/SecurityPolicy#None......
00000ee0: 00 00 30 00 00 00 00 ff ff ff ff ff ff ff ff 33 00 00 00 68 74 74 70 3a 2f 2f 6f 70 63 66 6f 75    ..0............3...http://opcfou
00000f00: 6e 64 61 74 69 6f 6e 2e 6f 72 67 2f 55 41 2f 53 65 63 75 72 69 74 79 50 6f 6c 69 63 79 23 42 61    ndation.org/UA/SecurityPolicy#Ba
00000f20: 73 69 63 32 35 36 01 00 00 00 31 01 00 00 00 ff ff ff ff ff ff ff ff 33 00 00 00 68 74 74 70 3a    sic256....1............3...http:
00000f40: 2f 2f 6f 70 63 66 6f 75 6e 64 61 74 69 6f 6e 2e 6f 72 67 2f 55 41 2f 53 65 63 75 72 69 74 79 50    //opcfoundation.org/UA/SecurityP
00000f60: 6f 6c 69 63 79 23 42 61 73 69 63 32 35 36 01 00 00 00 32 02 00 00 00 ff ff ff ff ff ff ff ff 33    olicy#Basic256....2............3
00000f80: 00 00 00 68 74 74 70 3a 2f 2f 6f 70 63 66 6f 75 6e 64 61 74 69 6f 6e 2e 6f 72 67 2f 55 41 2f 53    ...http://opcfoundation.org/UA/S
00000fa0: 65 63 75 72 69 74 79 50 6f 6c 69 63 79 23 42 61 73 69 63 32 35 36 41 00 00 00 68 74 74 70 3a 2f    ecurityPolicy#Basic256A...http:/
00000fc0: 2f 6f 70 63 66 6f 75 6e 64 61 74 69 6f 6e 2e 6f 72 67 2f 55 41 2d 50 72 6f 66 69 6c 65 2f 54 72    /opcfoundation.org/UA-Profile/Tr
00000fe0: 61 6e 73 70 6f 72 74 2f 75 61 74 63 70 2d 75 61 73 63 2d 75 61 62 69 6e 61 72 79 00 2c 00 00 00    ansport/uatcp-uasc-uabinary.,...
00001000: 68 74 74 70 3a 2f 2f 74 61 74 74 61 74 61 3a 36 32 35 34 31 2f 41 41 41 41 41 2f 41 67 67 72 65    http://tattata:62541/AAAAA/Aggre
00001020: 67 61 74 69 6f 6e 53 65 72 76 65 72 28 00 00 00 75 72 6e 3a 6c 6f 63 61 6c 68 6f 73 74 3a 55 41    gationServer(...urn:localhost:UA
00001040: 3a 41 41 41 41 41 3a 41 67 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72 22 00 00 00 75 72 69 3a    :AAAAA:AggregationServer"...uri:
00001060: 61 61 61 61 61 2e 63 6f 6d 3a 55 41 3a 41 67 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72 02 1b    aaaaa.com:UA:AggregationServer..
00001080: 00 00 00 41 41 41 41 41 20 55 41 20 41 67 67 72 65 67 61 74 69 6f 6e 20 53 65 72 76 65 72 02 00    ...AAAAA.UA.Aggregation.Server..
000010a0: 00 00 ff ff ff ff ff ff ff ff 02 00 00 00 36 00 00 00 68 74 74 70 3a 2f 2f 74 61 74 74 61 74 61    ..............6...http://tattata
000010c0: 3a 36 32 35 34 31 2f 41 41 41 41 41 2f 41 67 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72 2f 64    :62541/AAAAA/AggregationServer/d
000010e0: 69 73 63 6f 76 65 72 79 2f 00 00 00 6f 70 63 2e 74 63 70 3a 2f 2f 74 61 74 74 61 74 61 3a 36 32    iscovery/...opc.tcp://tattata:62
00001100: 35 34 32 2f 41 41 41 41 41 2f 41 67 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72 24                542/AAAAA/AggregationServer$
`);

// server -> client : packet length 3780  => GetEndpointsResponse 2/2
export const getEndpointsRequest2_chunk2 = makeBufferFromTrace(`
 00000000: 03 00 00 30 82 03 20 30 82 02 89 a0 03 02 01 02 02 10 2e 1b cc fe 63 34 7b 47 9e d3 11 f9 fe a2    ...0...0............L~c4{G.S.y~"
 00000020: cd 64 30 0d 06 09 2a 86 48 86 f7 0d 01 01 05 05 00 30 3f 31 17 30 15 06 0a 09 92 26 89 93 f2 2c    Md0...*.H.w......0?1.0.....&..r,
 00000040: 64 01 19 16 07 74 61 74 74 61 74 61 31 24 30 22 06 03 55 04 03 13 1b 41 41 41 41 41 20 55 41 20    d....tattata1$0"..U....AAAAA.UA.
 00000060: 41 67 67 72 65 67 61 74 69 6f 6e 20 53 65 72 76 65 72 30 20 17 0d 31 34 30 31 33 30 31 34 34 37    Aggregation.Server0...1401301447
 00000080: 32 32 5a 18 0f 32 30 36 33 30 35 31 33 31 34 34 37 32 32 5a 30 3f 31 17 30 15 06 0a 09 92 26 89    22Z..20630513144722Z0?1.0.....&.
 000000a0: 93 f2 2c 64 01 19 16 07 74 61 74 74 61 74 61 31 24 30 22 06 03 55 04 03 13 1b 41 41 41 41 41 20    .r,d....tattata1$0"..U....AAAAA.
 000000c0: 55 41 20 41 67 67 72 65 67 61 74 69 6f 6e 20 53 65 72 76 65 72 30 81 9f 30 0d 06 09 2a 86 48 86    UA.Aggregation.Server0..0...*.H.
 000000e0: f7 0d 01 01 01 05 00 03 81 8d 00 30 81 89 02 81 81 00 b7 db 2a ae 23 91 a4 6b d3 5a 7b bb 06 63    w..........0......7[*.#.$kSZ{;.c
 00000100: e7 c1 bc 4a 62 7a de 5d 54 bd b1 3f 55 65 25 b9 bc 99 55 19 b4 20 85 03 08 98 8e b3 29 0b fc 43    gA.Jbz^]T=1?Ue%9<.U.4......3).|C
 00000120: 5f 62 a6 1e e7 f6 7d 4c c9 d0 f4 26 47 52 66 e0 ea 16 26 8b 54 67 14 e2 3d 81 54 b7 29 a1 b2 6a    _b&.gv}LIPt&GRf.j.&.Tg.b=.T7)!2j
 00000140: 0b 9c 40 14 fc f8 51 aa 8e 0b f6 be 85 3d 95 a7 e1 4f 27 ae 10 6a 64 80 8b 2b ff fe 3b fa bd 06    ..@.|xQ*..v>.=.'aO'..jd..+.~;z=.
 00000160: c5 64 8d 33 ca 91 b5 68 71 f0 4f 8b b9 4e a6 9a 39 31 02 03 01 00 01 a3 82 01 19 30 82 01 15 30    Ed.3J.5hqpO.9N&.91.....#...0...0
 00000180: 1d 06 03 55 1d 0e 04 16 04 14 25 0a 7b 7f 14 c6 61 b0 23 5d 42 ff c4 9e 53 54 ac 78 20 d0 30 76    ...U......%.{..Fa0#]B.D.ST,x.P0v
 000001a0: 06 03 55 1d 23 04 6f 30 6d 80 14 25 0a 7b 7f 14 c6 61 b0 23 5d 42 ff c4 9e 53 54 ac 78 20 d0 a1    ..U.#.o0m..%.{..Fa0#]B.D.ST,x.P!
 000001c0: 43 a4 41 30 3f 31 17 30 15 06 0a 09 92 26 89 93 f2 2c 64 01 19 16 07 74 61 74 74 61 74 61 31 24    C$A0?1.0.....&..r,d....tattata1$
 000001e0: 30 22 06 03 55 04 03 13 1b 41 41 41 41 41 20 55 41 20 41 67 67 72 65 67 61 74 69 6f 6e 20 53 65    0"..U....AAAAA.UA.Aggregation.Se
 00000200: 72 76 65 72 82 10 2e 1b cc fe 63 34 7b 47 9e d3 11 f9 fe a2 cd 64 30 0c 06 03 55 1d 13 01 01 ff    rver....L~c4{G.S.y~"Md0...U.....
 00000220: 04 02 30 00 30 0e 06 03 55 1d 0f 01 01 ff 04 04 03 02 02 f4 30 20 06 03 55 1d 25 01 01 ff 04 16    ..0.0...U..........t0...U.%.....
 00000240: 30 14 06 08 2b 06 01 05 05 07 03 01 06 08 2b 06 01 05 05 07 03 02 30 3c 06 03 55 1d 11 04 35 30    0...+.........+.......0<..U...50
 00000260: 33 86 28 75 72 6e 3a 6c 6f 63 61 6c 68 6f 73 74 3a 55 41 3a 41 41 41 41 41 3a 41 67 67 72 65 67    3.(urn:localhost:UA:AAAAA:Aggreg
 00000280: 61 74 69 6f 6e 53 65 72 76 65 72 82 07 74 61 74 74 61 74 61 30 0d 06 09 2a 86 48 86 f7 0d 01 01    ationServer..tattata0...*.H.w...
 000002a0: 05 05 00 03 81 81 00 33 ac 71 4e 17 e4 16 67 13 fc 7b 26 d7 71 4c 85 b7 08 78 c5 4b f2 bc db 40    .......3,qN.d.g.|{&WqL.7.xEKr<[@
 000002c0: e8 fe 7b 0c 79 e2 1f 39 76 54 40 8b 9f 96 40 50 16 c8 97 03 7d 7d 45 e0 97 30 da 4a 72 b2 fd fe    h~{.yb.9vT@...@P.H..}}E..0ZJr2}~
 000002e0: b4 1e 78 5d 04 20 10 6e b4 b1 48 fc 79 dc 2e 05 fe 97 eb 16 bb 6a 39 99 8c 4e 51 b8 10 46 86 27    4.x]...n41H|y\\..~.k.;j9..NQ8.F.'
 00000300: fc a3 d5 b3 4b 34 1f 96 f7 32 66 58 c0 39 79 df 3b 5b bc 08 4b 7a f4 40 99 65 f8 cd ea d2 fa 78    |#U3K4..w2fX@9y_;[<.Kzt@.exMjRzx
 00000320: b1 ee 81 d0 99 60 7b 03 00 00 00 38 00 00 00 68 74 74 70 3a 2f 2f 6f 70 63 66 6f 75 6e 64 61 74    1n.P..{....8...http://opcfoundat
 00000340: 69 6f 6e 2e 6f 72 67 2f 55 41 2f 53 65 63 75 72 69 74 79 50 6f 6c 69 63 79 23 42 61 73 69 63 31    ion.org/UA/SecurityPolicy#Basic1
 00000360: 32 38 52 73 61 31 35 03 00 00 00 01 00 00 00 30 00 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff    28Rsa15........0................
 00000380: 01 00 00 00 31 01 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff 01 00 00 00 32 02 00 00 00 ff ff    ....1....................2......
 000003a0: ff ff ff ff ff ff ff ff ff ff 4a 00 00 00 68 74 74 70 3a 2f 2f 6f 70 63 66 6f 75 6e 64 61 74 69    ..........J...http://opcfoundati
 000003c0: 6f 6e 2e 6f 72 67 2f 55 41 2d 50 72 6f 66 69 6c 65 2f 54 72 61 6e 73 70 6f 72 74 2f 73 6f 61 70    on.org/UA-Profile/Transport/soap
 000003e0: 68 74 74 70 2d 77 73 73 63 2d 75 61 78 6d 6c 2d 75 61 62 69 6e 61 72 79 03 35 00 00 00 68 74 74    http-wssc-uaxml-uabinary.5...htt
 00000400: 70 3a 2f 2f 74 61 74 74 61 74 61 3a 36 32 35 34 31 2f 41 41 41 41 41 2f 41 67 67 72 65 67 61 74    p://tattata:62541/AAAAA/Aggregat
 00000420: 69 6f 6e 53 65 72 76 65 72 2f 42 61 73 69 63 32 35 36 28 00 00 00 75 72 6e 3a 6c 6f 63 61 6c 68    ionServer/Basic256(...urn:localh
 00000440: 6f 73 74 3a 55 41 3a 41 41 41 41 41 3a 41 67 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72 22 00    ost:UA:AAAAA:AggregationServer".
 00000460: 00 00 75 72 69 3a 61 61 61 61 61 2e 63 6f 6d 3a 55 41 3a 41 67 67 72 65 67 61 74 69 6f 6e 53 65    ..uri:aaaaa.com:UA:AggregationSe
 00000480: 72 76 65 72 02 1b 00 00 00 41 41 41 41 41 20 55 41 20 41 67 67 72 65 67 61 74 69 6f 6e 20 53 65    rver.....AAAAA.UA.Aggregation.Se
 000004a0: 72 76 65 72 02 00 00 00 ff ff ff ff ff ff ff ff 02 00 00 00 36 00 00 00 68 74 74 70 3a 2f 2f 67    rver................6...http://g
 000004c0: 61 74 74 61 63 61 3a 36 32 35 34 31 2f 41 41 41 41 41 2f 41 67 67 72 65 67 61 74 69 6f 6e 53 65    attaca:62541/AAAAA/AggregationSe
 000004e0: 72 76 65 72 2f 64 69 73 63 6f 76 65 72 79 2f 00 00 00 6f 70 63 2e 74 63 70 3a 2f 2f 67 61 74 74    rver/discovery/...opc.tcp://gatt
 00000500: 61 63 61 3a 36 32 35 34 32 2f 41 41 41 41 41 2f 41 67 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65    aca:62542/AAAAA/AggregationServe
 00000520: 72 24 03 00 00 30 82 03 20 30 82 02 89 a0 03 02 01 02 02 10 2e 1b cc fe 63 34 7b 47 9e d3 11 f9    r$...0...0............L~c4{G.S.y
 00000540: fe a2 cd 64 30 0d 06 09 2a 86 48 86 f7 0d 01 01 05 05 00 30 3f 31 17 30 15 06 0a 09 92 26 89 93    ~"Md0...*.H.w......0?1.0.....&..
 00000560: f2 2c 64 01 19 16 07 74 61 74 74 61 74 61 31 24 30 22 06 03 55 04 03 13 1b 41 41 41 41 41 20 55    r,d....tattata1$0"..U....AAAAA.U
 00000580: 41 20 41 67 67 72 65 67 61 74 69 6f 6e 20 53 65 72 76 65 72 30 20 17 0d 31 34 30 31 33 30 31 34    A.Aggregation.Server0...14013014
 000005a0: 34 37 32 32 5a 18 0f 32 30 36 33 30 35 31 33 31 34 34 37 32 32 5a 30 3f 31 17 30 15 06 0a 09 92    4722Z..20630513144722Z0?1.0.....
 000005c0: 26 89 93 f2 2c 64 01 19 16 07 74 61 74 74 61 74 61 31 24 30 22 06 03 55 04 03 13 1b 41 52 45 56    &..r,d....tattata1$0"..U....AREV
 000005e0: 41 20 55 41 20 41 67 67 72 65 67 61 74 69 6f 6e 20 53 65 72 76 65 72 30 81 9f 30 0d 06 09 2a 86    A.UA.Aggregation.Server0..0...*.
 00000600: 48 86 f7 0d 01 01 01 05 00 03 81 8d 00 30 81 89 02 81 81 00 b7 db 2a ae 23 91 a4 6b d3 5a 7b bb    H.w..........0......7[*.#.$kSZ{;
 00000620: 06 63 e7 c1 bc 4a 62 7a de 5d 54 bd b1 3f 55 65 25 b9 bc 99 55 19 b4 20 85 03 08 98 8e b3 29 0b    .cgA.Jbz^]T=1?Ue%9<.U.4......3).
 00000640: fc 43 5f 62 a6 1e e7 f6 7d 4c c9 d0 f4 26 47 52 66 e0 ea 16 26 8b 54 67 14 e2 3d 81 54 b7 29 a1    |C_b&.gv}LIPt&GRf.j.&.Tg.b=.T7)!
 00000660: b2 6a 0b 9c 40 14 fc f8 51 aa 8e 0b f6 be 85 3d 95 a7 e1 4f 27 ae 10 6a 64 80 8b 2b ff fe 3b fa    2j..@.|xQ*..v>.=.'aO'..jd..+.~;z
 00000680: bd 06 c5 64 8d 33 ca 91 b5 68 71 f0 4f 8b b9 4e a6 9a 39 31 02 03 01 00 01 a3 82 01 19 30 82 01    =.Ed.3J.5hqpO.9N&.91.....#...0..
 000006a0: 15 30 1d 06 03 55 1d 0e 04 16 04 14 25 0a 7b 7f 14 c6 61 b0 23 5d 42 ff c4 9e 53 54 ac 78 20 d0    .0...U......%.{..Fa0#]B.D.ST,x.P
 000006c0: 30 76 06 03 55 1d 23 04 6f 30 6d 80 14 25 0a 7b 7f 14 c6 61 b0 23 5d 42 ff c4 9e 53 54 ac 78 20    0v..U.#.o0m..%.{..Fa0#]B.D.ST,x.
 000006e0: d0 a1 43 a4 41 30 3f 31 17 30 15 06 0a 09 92 26 89 93 f2 2c 64 01 19 16 07 74 61 74 74 61 74 61    P!C$A0?1.0.....&..r,d....tattata
 00000700: 31 24 30 22 06 03 55 04 03 13 1b 41 41 41 41 41 20 55 41 20 41 67 67 72 65 67 61 74 69 6f 6e 20    1$0"..U....AAAAA.UA.Aggregation.
 00000720: 53 65 72 76 65 72 82 10 2e 1b cc fe 63 34 7b 47 9e d3 11 f9 fe a2 cd 64 30 0c 06 03 55 1d 13 01    Server....L~c4{G.S.y~"Md0...U...
 00000740: 01 ff 04 02 30 00 30 0e 06 03 55 1d 0f 01 01 ff 04 04 03 02 02 f4 30 20 06 03 55 1d 25 01 01 ff    ....0.0...U..........t0...U.%...
 00000760: 04 16 30 14 06 08 2b 06 01 05 05 07 03 01 06 08 2b 06 01 05 05 07 03 02 30 3c 06 03 55 1d 11 04    ..0...+.........+.......0<..U...
 00000780: 35 30 33 86 28 75 72 6e 3a 6c 6f 63 61 6c 68 6f 73 74 3a 55 41 3a 41 41 41 41 41 3a 41 67 67 72    503.(urn:localhost:UA:AAAAA:Aggr
 000007a0: 65 67 61 74 69 6f 6e 53 65 72 76 65 72 82 07 74 61 74 74 61 74 61 30 0d 06 09 2a 86 48 86 f7 0d    egationServer..tattata0...*.H.w.
 000007c0: 01 01 05 05 00 03 81 81 00 33 ac 71 4e 17 e4 16 67 13 fc 7b 26 d7 71 4c 85 b7 08 78 c5 4b f2 bc    .........3,qN.d.g.|{&WqL.7.xEKr<
 000007e0: db 40 e8 fe 7b 0c 79 e2 1f 39 76 54 40 8b 9f 96 40 50 16 c8 97 03 7d 7d 45 e0 97 30 da 4a 72 b2    [@h~{.yb.9vT@...@P.H..}}E..0ZJr2
 00000800: fd fe b4 1e 78 5d 04 20 10 6e b4 b1 48 fc 79 dc 2e 05 fe 97 eb 16 bb 6a 39 99 8c 4e 51 b8 10 46    }~4.x]...n41H|y\\..~.k.;j9..NQ8.F
 00000820: 86 27 fc a3 d5 b3 4b 34 1f 96 f7 32 66 58 c0 39 79 df 3b 5b bc 08 4b 7a f4 40 99 65 f8 cd ea d2    .'|#U3K4..w2fX@9y_;[<.Kzt@.exMjR
 00000840: fa 78 b1 ee 81 d0 99 60 7b 02 00 00 00 33 00 00 00 68 74 74 70 3a 2f 2f 6f 70 63 66 6f 75 6e 64    zx1n.P..{....3...http://opcfound
 00000860: 61 74 69 6f 6e 2e 6f 72 67 2f 55 41 2f 53 65 63 75 72 69 74 79 50 6f 6c 69 63 79 23 42 61 73 69    ation.org/UA/SecurityPolicy#Basi
 00000880: 63 32 35 36 03 00 00 00 01 00 00 00 30 00 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff 01 00 00    c256........0...................
 000008a0: 00 31 01 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff 01 00 00 00 32 02 00 00 00 ff ff ff ff ff    .1....................2.........
 000008c0: ff ff ff ff ff ff ff 4a 00 00 00 68 74 74 70 3a 2f 2f 6f 70 63 66 6f 75 6e 64 61 74 69 6f 6e 2e    .......J...http://opcfoundation.
 000008e0: 6f 72 67 2f 55 41 2d 50 72 6f 66 69 6c 65 2f 54 72 61 6e 73 70 6f 72 74 2f 73 6f 61 70 68 74 74    org/UA-Profile/Transport/soaphtt
 00000900: 70 2d 77 73 73 63 2d 75 61 78 6d 6c 2d 75 61 62 69 6e 61 72 79 02 31 00 00 00 68 74 74 70 3a 2f    p-wssc-uaxml-uabinary.1...http:/
 00000920: 2f 74 61 74 74 61 74 61 3a 36 32 35 34 31 2f 41 41 41 41 41 2f 41 67 67 72 65 67 61 74 69 6f 6e    /tattata:62541/AAAAA/Aggregation
 00000940: 53 65 72 76 65 72 2f 4e 6f 6e 65 28 00 00 00 75 72 6e 3a 6c 6f 63 61 6c 68 6f 73 74 3a 55 41 3a    Server/None(...urn:localhost:UA:
 00000960: 41 41 41 41 41 3a 41 67 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72 22 00 00 00 75 72 69 3a 61    AAAAA:AggregationServer"...uri:a
 00000980: 61 61 61 61 2e 63 6f 6d 3a 55 41 3a 41 67 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72 02 1b 00    aaaa.com:UA:AggregationServer...
 000009a0: 00 00 41 41 41 41 41 20 55 41 20 41 67 67 72 65 67 61 74 69 6f 6e 20 53 65 72 76 65 72 02 00 00    ..AAAAA.UA.Aggregation.Server...
 000009c0: 00 ff ff ff ff ff ff ff ff 02 00 00 00 36 00 00 00 68 74 74 70 3a 2f 2f 74 61 74 74 61 74 61 3a    .............6...http://tattata:
 000009e0: 36 32 35 34 31 2f 41 41 41 41 41 2f 41 67 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72 2f 64 69    62541/AAAAA/AggregationServer/di
 00000a00: 73 63 6f 76 65 72 79 2f 00 00 00 6f 70 63 2e 74 63 70 3a 2f 2f 74 61 74 74 61 74 61 3a 36 32 35    scovery/...opc.tcp://tattata:625
 00000a20: 34 32 2f 41 41 41 41 41 2f 41 67 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72 24 03 00 00 30 82    42/AAAAA/AggregationServer$...0.
 00000a40: 03 20 30 82 02 89 a0 03 02 01 02 02 10 2e 1b cc fe 63 34 7b 47 9e d3 11 f9 fe a2 cd 64 30 0d 06    ..0............L~c4{G.S.y~"Md0..
 00000a60: 09 2a 86 48 86 f7 0d 01 01 05 05 00 30 3f 31 17 30 15 06 0a 09 92 26 89 93 f2 2c 64 01 19 16 07    .*.H.w......0?1.0.....&..r,d....
 00000a80: 74 61 74 74 61 74 61 31 24 30 22 06 03 55 04 03 13 1b 41 41 41 41 41 20 55 41 20 41 67 67 72 65    tattata1$0"..U....AAAAA.UA.Aggre
 00000aa0: 67 61 74 69 6f 6e 20 53 65 72 76 65 72 30 20 17 0d 31 34 30 31 33 30 31 34 34 37 32 32 5a 18 0f    gation.Server0...140130144722Z..
 00000ac0: 32 30 36 33 30 35 31 33 31 34 34 37 32 32 5a 30 3f 31 17 30 15 06 0a 09 92 26 89 93 f2 2c 64 01    20630513144722Z0?1.0.....&..r,d.
 00000ae0: 19 16 07 74 61 74 74 61 74 61 31 24 30 22 06 03 55 04 03 13 1b 41 41 41 41 41 20 55 41 20 41 67    ...tattata1$0"..U....AAAAA.UA.Ag
 00000b00: 67 72 65 67 61 74 69 6f 6e 20 53 65 72 76 65 72 30 81 9f 30 0d 06 09 2a 86 48 86 f7 0d 01 01 01    gregation.Server0..0...*.H.w....
 00000b20: 05 00 03 81 8d 00 30 81 89 02 81 81 00 b7 db 2a ae 23 91 a4 6b d3 5a 7b bb 06 63 e7 c1 bc 4a 62    ......0......7[*.#.$kSZ{;.cgA.Jb
 00000b40: 7a de 5d 54 bd b1 3f 55 65 25 b9 bc 99 55 19 b4 20 85 03 08 98 8e b3 29 0b fc 43 5f 62 a6 1e e7    z^]T=1?Ue%9<.U.4......3).|C_b&.g
 00000b60: f6 7d 4c c9 d0 f4 26 47 52 66 e0 ea 16 26 8b 54 67 14 e2 3d 81 54 b7 29 a1 b2 6a 0b 9c 40 14 fc    v}LIPt&GRf.j.&.Tg.b=.T7)!2j..@.|
 00000b80: f8 51 aa 8e 0b f6 be 85 3d 95 a7 e1 4f 27 ae 10 6a 64 80 8b 2b ff fe 3b fa bd 06 c5 64 8d 33 ca    xQ*..v>.=.'aO'..jd..+.~;z=.Ed.3J
 00000ba0: 91 b5 68 71 f0 4f 8b b9 4e a6 9a 39 31 02 03 01 00 01 a3 82 01 19 30 82 01 15 30 1d 06 03 55 1d    .5hqpO.9N&.91.....#...0...0...U.
 00000bc0: 0e 04 16 04 14 25 0a 7b 7f 14 c6 61 b0 23 5d 42 ff c4 9e 53 54 ac 78 20 d0 30 76 06 03 55 1d 23    .....%.{..Fa0#]B.D.ST,x.P0v..U.#
 00000be0: 04 6f 30 6d 80 14 25 0a 7b 7f 14 c6 61 b0 23 5d 42 ff c4 9e 53 54 ac 78 20 d0 a1 43 a4 41 30 3f    .o0m..%.{..Fa0#]B.D.ST,x.P!C$A0?
 00000c00: 31 17 30 15 06 0a 09 92 26 89 93 f2 2c 64 01 19 16 07 74 61 74 74 61 74 61 31 24 30 22 06 03 55    1.0.....&..r,d....tattata1$0"..U
 00000c20: 04 03 13 1b 41 41 41 41 41 20 55 41 20 41 67 67 72 65 67 61 74 69 6f 6e 20 53 65 72 76 65 72 82    ....AAAAA.UA.Aggregation.Server.
 00000c40: 10 2e 1b cc fe 63 34 7b 47 9e d3 11 f9 fe a2 cd 64 30 0c 06 03 55 1d 13 01 01 ff 04 02 30 00 30    ...L~c4{G.S.y~"Md0...U.......0.0
 00000c60: 0e 06 03 55 1d 0f 01 01 ff 04 04 03 02 02 f4 30 20 06 03 55 1d 25 01 01 ff 04 16 30 14 06 08 2b    ...U..........t0...U.%.....0...+
 00000c80: 06 01 05 05 07 03 01 06 08 2b 06 01 05 05 07 03 02 30 3c 06 03 55 1d 11 04 35 30 33 86 28 75 72    .........+.......0<..U...503.(ur
 00000ca0: 6e 3a 6c 6f 63 61 6c 68 6f 73 74 3a 55 41 3a 41 41 41 41 41 3a 41 67 67 72 65 67 61 74 69 6f 6e    n:localhost:UA:AAAAA:Aggregation
 00000cc0: 53 65 72 76 65 72 82 07 74 61 74 74 61 74 61 30 0d 06 09 2a 86 48 86 f7 0d 01 01 05 05 00 03 81    Server..tattata0...*.H.w........
 00000ce0: 81 00 33 ac 71 4e 17 e4 16 67 13 fc 7b 26 d7 71 4c 85 b7 08 78 c5 4b f2 bc db 40 e8 fe 7b 0c 79    ..3,qN.d.g.|{&WqL.7.xEKr<[@h~{.y
 00000d00: e2 1f 39 76 54 40 8b 9f 96 40 50 16 c8 97 03 7d 7d 45 e0 97 30 da 4a 72 b2 fd fe b4 1e 78 5d 04    b.9vT@...@P.H..}}E..0ZJr2}~4.x].
 00000d20: 20 10 6e b4 b1 48 fc 79 dc 2e 05 fe 97 eb 16 bb 6a 39 99 8c 4e 51 b8 10 46 86 27 fc a3 d5 b3 4b    ..n41H|y\\..~.k.;j9..NQ8.F.'|#U3K
 00000d40: 34 1f 96 f7 32 66 58 c0 39 79 df 3b 5b bc 08 4b 7a f4 40 99 65 f8 cd ea d2 fa 78 b1 ee 81 d0 99    4..w2fX@9y_;[<.Kzt@.exMjRzx1n.P.
 00000d60: 60 7b 01 00 00 00 2f 00 00 00 68 74 74 70 3a 2f 2f 6f 70 63 66 6f 75 6e 64 61 74 69 6f 6e 2e 6f    .{..../...http://opcfoundation.o
 00000d80: 72 67 2f 55 41 2f 53 65 63 75 72 69 74 79 50 6f 6c 69 63 79 23 4e 6f 6e 65 03 00 00 00 01 00 00    rg/UA/SecurityPolicy#None.......
 00000da0: 00 30 00 00 00 00 ff ff ff ff ff ff ff ff 33 00 00 00 68 74 74 70 3a 2f 2f 6f 70 63 66 6f 75 6e    .0............3...http://opcfoun
 00000dc0: 64 61 74 69 6f 6e 2e 6f 72 67 2f 55 41 2f 53 65 63 75 72 69 74 79 50 6f 6c 69 63 79 23 42 61 73    dation.org/UA/SecurityPolicy#Bas
 00000de0: 69 63 32 35 36 01 00 00 00 31 01 00 00 00 ff ff ff ff ff ff ff ff 33 00 00 00 68 74 74 70 3a 2f    ic256....1............3...http:/
 00000e00: 2f 6f 70 63 66 6f 75 6e 64 61 74 69 6f 6e 2e 6f 72 67 2f 55 41 2f 53 65 63 75 72 69 74 79 50 6f    /opcfoundation.org/UA/SecurityPo
 00000e20: 6c 69 63 79 23 42 61 73 69 63 32 35 36 01 00 00 00 32 02 00 00 00 ff ff ff ff ff ff ff ff 33 00    licy#Basic256....2............3.
 00000e40: 00 00 68 74 74 70 3a 2f 2f 6f 70 63 66 6f 75 6e 64 61 74 69 6f 6e 2e 6f 72 67 2f 55 41 2f 53 65    ..http://opcfoundation.org/UA/Se
 00000e60: 63 75 72 69 74 79 50 6f 6c 69 63 79 23 42 61 73 69 63 32 35 36 4a 00 00 00 68 74 74 70 3a 2f 2f    curityPolicy#Basic256J...http://
 00000e80: 6f 70 63 66 6f 75 6e 64 61 74 69 6f 6e 2e 6f 72 67 2f 55 41 2d 50 72 6f 66 69 6c 65 2f 54 72 61    opcfoundation.org/UA-Profile/Tra
 00000ea0: 6e 73 70 6f 72 74 2f 73 6f 61 70 68 74 74 70 2d 77 73 73 63 2d 75 61 78 6d 6c 2d 75 61 62 69 6e    nsport/soaphttp-wssc-uaxml-uabin
 00000ec0: 61 72 79 00                                                                                        ary.
`);
// client -> server : packet length 57  => CloseSecureChannelRequest
export const closeSecureChannelRequest1 = makeBufferFromTrace(`
00000000: 43 4c 4f 46 39 00 00 00 0a 00 00 00 01 00 00 00 03 00 00 00 03 00 00 00 01 00 c4 01 00 00 95 78    CLOF9.....................D....x
00000020: 65 d9 d0 1d cf 01 00 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 00 00 00                         eYP.O....................
`);

// server -> client                      => CloseSecureChannelResponse
export const closeSecureChannelResponse = makeBufferFromTrace(`
00000000: 43 4c 4f 46 39 00 00 00 02 00 00 00 01 00 00 00 03 00 00 00 03 00 00 00 01 00 c4 01 00 00 cd e6    CLOF9.....................D...Mf
00000020: 25 6b 8c 1f cf 01 00 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 00 00 00                         %k..O....................
`);

export const packet_cs_6 = makeBufferFromTrace(`
00000000: 4d 53 47 46 4c 04 00 00 02 00 00 00 01 00 00 00 02 00 00 00 01 00 00 00 01 00 cd 01 00 00 16 12    MSGFL.....................M.....
00000020: a8 62 a2 1f cf 01 01 00 00 00 ff 03 00 00 ff ff ff ff 00 00 00 00 00 00 00 20 00 00 00 75 72 6e    (b".O........................urn
00000040: 3a 58 58 58 58 58 49 31 31 30 32 32 3a 55 41 20 53 61 6d 70 6c 65 20 43 6c 69 65 6e 74 29 00 00    :XXXXXI11022:UA.Sample.Client)..
00000060: 00 68 74 74 70 3a 2f 2f 6f 70 63 66 6f 75 6e 64 61 74 69 6f 6e 2e 6f 72 67 2f 55 41 2f 53 61 6d    .http://opcfoundation.org/UA/Sam
00000080: 70 6c 65 43 6c 69 65 6e 74 2f 02 10 00 00 00 55 41 20 53 61 6d 70 6c 65 20 43 6c 69 65 6e 74 01    pleClient/.....UA.Sample.Client.
000000a0: 00 00 00 ff ff ff ff ff ff ff ff 00 00 00 00 20 00 00 00 75 72 6e 3a 58 58 58 58 58 49 31 31 30    ...................urn:XXXXXI110
000000c0: 32 32 3a 55 41 20 53 61 6d 70 6c 65 20 43 6c 69 65 6e 74 29 00 00 00 6f 70 63 2e 74 63 70 3a 2f    22:UA.Sample.Client)...opc.tcp:/
000000e0: 2f 6c 6f 63 61 6c 68 6f 73 74 3a 36 31 32 31 30 2f 55 41 2f 53 61 6d 70 6c 65 43 6c 69 65 6e 74    /localhost:61210/UA/SampleClient
00000100: 0b 00 00 00 4d 79 53 65 73 73 69 6f 6e 20 31 20 00 00 00 85 c7 1a 02 8b 96 b1 2e 14 2a 7f 00 16    ....MySession.1.....G....1..*...
00000120: 20 56 06 f7 61 f8 ea 77 54 78 30 99 7b 45 5b e0 6c 36 82 09 03 00 00 30 82 03 05 30 82 02 6e a0    .V.waxjwTx0.{E[.l6.....0...0..n.
00000140: 03 02 01 02 02 10 7b 41 d7 76 cb 6a 2b 41 94 07 96 c9 f8 03 d9 dc 30 0d 06 09 2a 86 48 86 f7 0d    ......{AWvKj+A...Ix.Y\0...*.H.w.
00000160: 01 01 05 05 00 30 38 31 1b 30 19 06 0a 09 92 26 89 93 f2 2c 64 01 19 16 0b 58 58 58 58 58 49 31    .....081.0.....&..r,d....XXXXXI1
00000180: 31 30 32 32 31 19 30 17 06 03 55 04 03 13 10 55 41 20 53 61 6d 70 6c 65 20 43 6c 69 65 6e 74 30    10221.0...U....UA.Sample.Client0
000001a0: 1e 17 0d 31 32 30 38 31 36 31 30 33 31 31 31 5a 17 0d 33 37 30 34 30 37 31 30 33 31 31 31 5a 30    ...120816103111Z..370407103111Z0
000001c0: 38 31 1b 30 19 06 0a 09 92 26 89 93 f2 2c 64 01 19 16 0b 58 58 58 58 58 49 31 31 30 32 32 31 19    81.0.....&..r,d....XXXXXI110221.
000001e0: 30 17 06 03 55 04 03 13 10 55 41 20 53 61 6d 70 6c 65 20 43 6c 69 65 6e 74 30 81 9f 30 0d 06 09    0...U....UA.Sample.Client0..0...
00000200: 2a 86 48 86 f7 0d 01 01 01 05 00 03 81 8d 00 30 81 89 02 81 81 00 d5 15 5b 98 c3 69 79 f6 59 a8    *.H.w..........0......U.[.CiyvY(
00000220: 5d a3 23 dd 9d 25 a9 ec 1e a4 e6 bf f7 07 3a 85 a7 6e ad 80 94 94 f1 78 a7 27 33 9d 50 2e 36 1f    ]##].%)l.$f?w.:.'n-...qx''3.P.6.
00000240: 34 7b 44 a0 18 a8 e1 66 01 8d 8f 21 95 39 df ec 37 e5 87 b6 f5 5c 95 aa 6f 83 e7 74 6a 15 0f 52    4{D..(af...!.9_l7e.6u\\.*o.gtj..R
00000260: 60 ad 65 61 32 be e0 e1 28 0c 18 95 68 46 06 8b b0 38 4d fc ce cb 4d a9 41 ae 42 7a 31 db d9 00    .-ea2>.a(...hF..08M|NKM)A.Bz1[Y.
00000280: a2 78 2e 73 93 70 90 51 1b 1a 2b f0 de ca 22 4f c1 f7 3d bc ef d3 02 03 01 00 01 a3 82 01 0e 30    "x.s.p.Q..+p^J"OAw=.oS.....#...0
000002a0: 82 01 0a 30 1d 06 03 55 1d 0e 04 16 04 14 41 24 7d 36 f7 75 00 23 a4 be 6a b2 77 da 83 58 4a b3    ...0...U......A$}6wu.#$>j2wZ.XJ3
000002c0: f8 c6 30 6f 06 03 55 1d 23 04 68 30 66 80 14 41 24 7d 36 f7 75 00 23 a4 be 6a b2 77 da 83 58 4a    xF0o..U.#.h0f..A$}6wu.#$>j2wZ.XJ
000002e0: b3 f8 c6 a1 3c a4 3a 30 38 31 1b 30 19 06 0a 09 92 26 89 93 f2 2c 64 01 19 16 0b 58 58 58 58 58    3xF!<$:081.0.....&..r,d....XXXXX
00000300: 49 31 31 30 32 32 31 19 30 17 06 03 55 04 03 13 10 55 41 20 53 61 6d 70 6c 65 20 43 6c 69 65 6e    I110221.0...U....UA.Sample.Clien
00000320: 74 82 10 7b 41 d7 76 cb 6a 2b 41 94 07 96 c9 f8 03 d9 dc 30 0c 06 03 55 1d 13 01 01 ff 04 02 30    t..{AWvKj+A...Ix.Y\0...U.......0
00000340: 00 30 0e 06 03 55 1d 0f 01 01 ff 04 04 03 02 02 f4 30 20 06 03 55 1d 25 01 01 ff 04 16 30 14 06    .0...U..........t0...U.%.....0..
00000360: 08 2b 06 01 05 05 07 03 01 06 08 2b 06 01 05 05 07 03 02 30 38 06 03 55 1d 11 04 31 30 2f 86 20    .+.........+.......08..U...10/..
00000380: 75 72 6e 3a 58 58 58 58 58 49 31 31 30 32 32 3a 55 41 20 53 61 6d 70 6c 65 20 43 6c 69 65 6e 74    urn:XXXXXI11022:UA.Sample.Client
000003a0: 82 0b 58 58 58 58 58 49 31 31 30 32 32 30 0d 06 09 2a 86 48 86 f7 0d 01 01 05 05 00 03 81 81 00    ..XXXXXI110220...*.H.w..........
000003c0: 25 d5 0b 8e a8 b6 41 eb 01 8b 9a f2 aa 34 40 26 d3 ec ff d2 9f 97 c0 b4 6d 9f fb 16 5e 02 71 7d    %U..(6Ak...r*4@&Sl.R..@4m.{.^.q}
000003e0: 42 67 bb 60 b0 04 ea 6c db ad 48 b1 3a 45 0f a8 9b 35 6c 48 00 d8 2e a9 83 61 32 a8 21 98 7d 28    Bg;.0.jl[-H1:E.(.5lH.X.).a2(!.}(
00000400: d8 75 1d 77 6a c1 9b d3 8c 39 4d 9e d9 30 cb d6 04 b3 13 d2 53 ad df 59 b6 82 41 20 94 e3 12 f1    Xu.wjA.S.9M.Y0KV.3.RS-_Y6.A..c.q
00000420: 0d 3f 3e 92 be ce ba b4 16 dd 23 4a 15 2a 7e a9 27 d5 c6 78 0a 88 bf 21 29 00 ce 87 0c 91 42 b9    .?>.>N:4.]#J.*~)'UFx..?!).N...B9
00000440: 00 00 00 00 80 4f 22 41 00 00 40 00                                                                .....O"A..@.
`);

// ActivateSesionRequest
export const activateSesionRequest = makeBufferFromTrace(`
0000   4d 53 47 46 8d 00 00 00 08 00 00 00 01 00 00 00  MSGF............
0010   03 00 00 00 03 00 00 00 01 00 d3 01 05 00 00 20  ...............
0020   00 00 00 48 09 ee e7 c3 5d bb ce df d0 7a 7d c0  ...H....]....z}.
0030   6e e8 54 ba bf fa 46 7e 3f b2 06 98 6e 71 a2 87  n.T...F~?...nq..
0040   bd 2c 5d 30 8c 81 6d 17 21 cf 01 02 00 00 00 ff  .,]0..m.!.......
0050   03 00 00 ff ff ff ff 00 00 00 00 00 00 00 ff ff  ................
0060   ff ff ff ff ff ff 00 00 00 00 01 00 00 00 05 00  ................
0070   00 00 66 72 2d 46 52 01 00 41 01 01 05 00 00 00  ..fr-FR..A......
0080   01 00 00 00 30 ff ff ff ff ff ff ff ff           ....0........
`);

// ActivateSesionResponse
export const activateSesionResponse = makeBufferFromTrace(`
0000   4d 53 47 46 60 00 00 00 08 00 00 00 01 00 00 00  MSGF............
0010   03 00 00 00 03 00 00 00 01 00 d6 01 17 ff 83 6d  ...............m
0020   17 21 cf 01 02 00 00 00 00 00 00 00 00 00 00 00  .!..............
0030   00 00 00 00 20 00 00 00 14 19 e7 a6 e6 cf 4c e2  .... .........L.
0040   05 91 2c 1f 67 59 b1 10 ba d6 d1 46 77 89 39 9c  ..,.gY.....Fw.9.
0050   20 bd 76 15 57 09 17 92 00 00 00 00 00 00 00 00  .v.W...........
`);

export const packect_outtec = makeBufferFromTrace(`
00000000: 43 4c 4f 46 18 00 00 00 0c 00 00 00 01 00 00 00 0f 00 00 00 0f 00 00 00
`);

export const random_packet = makeBufferFromTrace(`
0000   4d 53 47 46 70 00 00 00 23 00 00 00 bd 00 00 00   MSGFp...#.......
0010   7a fc d2 8c 61 b3 16 e5 40 7d b4 63 d3 64 cd 2c   z...a...@}.c.d.,
0020   06 d1 9a dc 61 3e fe 8c 8d ab 3c ec be bd cf 9c   ....a>....<.....
0030   cc 35 5d 2c 41 42 ac e4 cc a2 0a 0b a7 63 c1 c8   .5],AB.......c..
0040   a9 33 d7 ee 38 7f 8a c2 45 d5 5a a9 be 86 c8 c2   .3..8...E.Z.....
0050   4d 81 b7 4d 1c b4 69 b8 73 d9 b2 0c 9f a4 d0 18   M..M..i.s.......
0060   3d ce bc 37 98 25 2c 0d f0 59 80 b2 b1 6f 95 03   =..7.%,..Y...o..
`);
